<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="java.util.*" pageEncoding="UTF-8"%>
	<%String path=request.getContextPath(); %>
<!DOCTYPE html>

<html>

<head>
	<meta http-equiv="Content-Type" content="text/html;">
	<title>BONC员工管理</title>

	<jsp:include page="../import.jsp"/>
	<link rel="stylesheet" type="text/css" href="<%=path%>/css/tms/dashboard.css">
	<script type="text/javascript" src="<%=path%>/js/plugins/laydate/laydate.js"></script>


</head>
<body>

	  <jsp:include page="dashboardHead.jsp"></jsp:include>
	 
	<div class="container">
		
			<div class="row">
				
			<div id="organizationStructureShow" class="col-md-12"></div>
			<div  class="col-md-12 pandect_div">
				<h4>组织结构展示</h4>
				<div id="organizationStructureShowMain" class="viewStyle"></div>
			</div>
			
			<div id="baseInformation" class="col-md-12"></div>
			<div class="col-md-12 pandect_div">
				<h4>人员信息</h4>
				<div id="degreeMain"></div>
				<div id="sexMain"></div>
				<div id="ageMain"></div>
				<div id="workExperienceMain"></div>
			</div>
			
			<div id="entryAndLeaveOffice" class="col-md-12"></div>
			<div class="col-md-12 pandect_div">
			
			<div>
				<div style="float:left;">
					<h4 style="width:220px;">入职率/离职率</h4>
				</div>
				
				 <div class="date-show" style="height:30px; float:left;text-align: center;">
				 	<span>开始日期：</span><label class="laydate-icon" id="startEntryAndLeaveOffice" style="width: 20%;"></label>
					<span>结束日期：</span><label class="laydate-icon" id="endEntryAndLeaveOffice" style="width: 20%;"></label>
					<button id="" onclick="loadEntryAndLeavePeople();loadEntryAndLeaveOffice();">查询</button>
					<jsp:include page="layData.jsp" flush="true" />
				</div> 
				
				<div style="width:100%; float:left; border-bottom: 1px solid #e4e4e4;">
					<h6 style="text-align: left;">入职率=入职人数/（期初人数+当期入职人数）   离职率=离职人数/（期初人数+当期入职人数）</h6>
				</div>
				
			</div>
				
				<div id="entryAndLeavePeopleMain" class="viewStyle"></div>
				
			</div>
			
			<div id="employeeGrowth" class="col-md-12"></div>
			<div class="col-md-12 pandect_div">
				
				<div>
					<div style="float:left;">
						<h4 style="width:220px;">员工增长率</h4>
					</div>
					
					 <div class="date-show" style="float:left;">
					 	<span>开始日期：</span><label class="laydate-icon" id="startEmployeeGrowth" style="width: 20%;"></label>
						<span>结束日期：</span><label class="laydate-icon" id="endEmployeeGrowth" style="width: 20%; "></label>
						<button id="" onclick="loadEmployeeGrowth();">查询</button>
						<jsp:include page="layData.jsp" flush="true" />
					</div> 
					<div style="width:100%; float:left; border-bottom: 1px solid #e4e4e4;">
						<h6 style="text-align: left;">员工增长率＝本期新增员工人数/上年同期员工人数*100％</h6>
					</div>
				</div>
				
				<div id="employeeGrowthMain" class="viewStyle"></div>
			</div>
			
			<div id="arealDistribution" class="col-md-12"></div>
			<div class="col-md-12 pandect_div">
				<h4>人员地域分布</h4>
				<div id="arealDistributionMain" class="viewStyle"></div>
			</div>
			
			<div id="HCTarget" class="col-md-12"></div>
			<div class="col-md-12 pandect_div">
				
				<div>
					<div style="float:left;">
						<h4 style="width:220px;">HC指标</h4>
					</div>
					
					 <div class="date-show" style="float:left;">
					 	<span>开始日期：</span><label class="laydate-icon" id="startHCTarget" style="width: 20%;"></label>
						<span>结束日期：</span><label class="laydate-icon" id="endHCTarget" style="width: 20%; "></label>
						<button id="" onclick="loadHCTarget();">查询</button>
						<jsp:include page="layData.jsp" flush="true" />
					</div> 
					<div style="width:100%; float:left; border-bottom: 1px solid #e4e4e4;"></div>
				</div>
				
				<div id="HCTargetMain" class="viewStyle"></div>
			</div>
			
			<div id="HCWeeklyReports" class="col-md-12"></div>
			<div class="col-md-12 pandect_div">
				
				<div>
					<div style="float:left;">
						<h4 style="width:220px;">HC周报</h4>
					</div>
					
					 <div class="date-show" style="float:left;">
					 	<span>开始日期：</span><label class="laydate-icon" id="startHCWeeklyReports" style="width: 20%;"></label>
						<span>结束日期：</span><label class="laydate-icon" id="endHCWeeklyReports" style="width: 20%; "></label>
						<button id="" onclick="loadHCWeeklyReports();">查询</button>
						<jsp:include page="layData.jsp" flush="true" />
					</div> 
					<div style="width:100%; float:left; border-bottom: 1px solid #e4e4e4;"></div>
				</div>
				
				<div id="HCWeeklyReportsMain" class="viewStyle"></div>
			</div>
			
			<div id="shortLeaveOfficeEmployee" class="col-md-12"></div>
			<div  class="col-md-12 pandect_div">
			
						<h4><a href='/ShortLeaveOfficeEmployee'>短期离职员工预警</a></h4>
			
				<%-- <div>
					<div style="float:left;">
					</div>
					
					 <div class="date-show" style="float:left;">
					 	<span>开始日期：</span><label class="laydate-icon" id="start" style="width: 20%;"></label>
						<span>结束日期：</span><label class="laydate-icon" id="end" style="width: 20%; "></label>
						<jsp:include page="layData.jsp" flush="true" />
					</div> 
					<div style="width:100%; float:left; border-bottom: 1px solid #e4e4e4;"></div>
				</div> --%>
			
				<div class="shortLeaveOfficeEmployee" style="background-color: #EFEFEF;">
				
					<table id="shortLeaveOfficeEmployee-table" class="table table-striped table-bordered table-hover" style="text-align: left;">
						<thead>
							<tr>
								 
								<th style="width: 10%;">姓名</th>
								<th style="width: 5%;">性别</th>
								<th style="width: 24%;">部门</th>
								<th style="width: 5%;">学历</th>
								<th style="width: 10%;">学校</th>
								<th style="width: 10%;">住址</th>
								<th style="width: 8%;">薪资</th>
								<th style="width: 8%;">查看</th>
							</tr>
						</thead>
						<tbody id="shortLeaveOfficeEmployee_tbody">
							
						</tbody>
						
					</table> 
					
					
						<!-- 页码变化 start-->
					<div class="pageNumber">
					
						 <input id="previousShortLeaveOfficeEmployeeInput" type="hidden" name="previousShortLeaveOfficeEmployeeInput" value=""> 
						 <input id="nextShortLeaveOfficeEmployeeInput" type="hidden" name="nextShortLeaveOfficeEmployeeInput" value=""> 
						 <input id="lastShortLeaveOfficeEmployeeInput" type="hidden" name="lastShortLeaveOfficeEmployeeInput" value=""> 
						 
						<button id="firstShortLeaveOfficeEmployee" class="btn btn-default btn-sm" onclick="firstShortLeaveOfficeEmployee();">首页</button>
						<button id="previousShortLeaveOfficeEmployee" class="btn btn-default btn-sm" onclick="previousShortLeaveOfficeEmployee();">上一页</button> 
						<button id="nextShortLeaveOfficeEmployee" class="btn btn-default btn-sm "  onclick="nextShortLeaveOfficeEmployee();">下一页</button>
						<button id="lastShortLeaveOfficeEmployee" class="btn btn-default btn-sm"  onclick="lastShortLeaveOfficeEmployee();">尾页</button>
						<span>当前第<span id="curPageShortLeaveOfficeEmployee"></span>页</span>
						<span>共<span id="totalNumberShortLeaveOfficeEmployee"></span>条记录</span> 
						<span>共<span id="totalPageShortLeaveOfficeEmployee"></span>页</span>
						<span>每页<span id="pageSizeShortLeaveOfficeEmployee"></span>条</span>
					
					</div>
					<!-- 页码变化 end-->
				
				</div>
			</div>
			
			<div id="annualGrowthRateOfTotalCompensation" class="col-md-12"></div>
			<div class="col-md-12 pandect_div">
				
				<div>
					<div style="float:left;">
						<h4 style="width:220px;">年度薪酬总额增长率</h4>
					</div>
					
					 <div class="date-show" style="float:left;">
					 	<span>开始日期：</span><label class="laydate-icon" id="startAnnualGrowthRateOfTotalCompensation" style="width: 20%;"></label>
						<span>结束日期：</span><label class="laydate-icon" id="endAnnualGrowthRateOfTotalCompensation" style="width: 20%; "></label>
						<button id="" onclick="loadAnnualGrowthRateOfTotalCompensation();">查询</button>
						<jsp:include page="layData.jsp" flush="true" />
					</div> 
					<div style="width:100%; float:left; border-bottom: 1px solid #e4e4e4;">
						<h6 style="text-align: left;">年薪酬总额增长率＝报告年度薪酬总额÷上年度薪酬总额×100％－1</h6>
					</div>
				</div>
				
				<div id="annualGrowthRateOfTotalCompensationMain" class="viewStyle"></div>
			</div>

			<div id="PayOverview" class="col-md-12"></div>
			<div class="col-md-12 pandect_div"><!-- id="" class="table" -->
				
				<div>
					<div style="float:left;">
						<h4 style="width:220px;">部门薪资总览</h4>
					</div>
					
					 <div class="date-show" style="float:left;">
					 	<span>开始日期：</span><label class="laydate-icon" id="startPayOverview" style="width: 20%;"></label>
						<span>结束日期：</span><label class="laydate-icon" id="endPayOverview" style="width: 20%; "></label>
						<button id="" onclick="loadPayOverview();">查询</button>
						<jsp:include page="layData.jsp" flush="true" />
					</div> 
					<div style="width:100%; float:left; border-bottom: 1px solid #e4e4e4;"></div>
				</div>
				
				<table id="PayOverview-table" class="table table-striped table-bordered table-hover" style="text-align: left;">
					<thead>
						<tr>
							 
							<th style="width: 30%;">部门名称</th>
							<th style="width: 10%;">部门人数</th>
							<th style="width: 10%;">薪酬成本</th>
							<th style="width: 10%;">人均工资</th>
							<th style="width: 10%;">社保福利成本</th>
							<th style="width: 10%;">人力成本</th>
						</tr>
					</thead>
					<tbody id="PayOverview_tbody">
						
					</tbody>
					<!-- <tfoot>
						<tr>
							<td colspan="8" class="moreTd" id="topic-tfoot">
								<span class="icon-down"><i class="icon-down">↓</i>查看更多</span>
							</td>
						</tr>
					</tfoot> -->
				</table>
				
					<!-- 页码变化 start-->
					<div class="pageNumber">
					
						 <input id="previousPayOverviewInput" type="hidden" name="previousPayOverviewInput" value=""> 
						 <input id="nextPayOverviewInput" type="hidden" name="nextPayOverviewInput" value=""> 
						 <input id="lastPayOverviewInput" type="hidden" name="lastPayOverviewInput" value=""> 
						 
						<button id="firstPayOverview" class="btn btn-default btn-sm" onclick="firstPayOverview();">首页</button>
						<button id="previousPayOverview" class="btn btn-default btn-sm" onclick="previousPayOverview();">上一页</button> 
						<button id="nextPayOverview" class="btn btn-default btn-sm "  onclick="nextPayOverview();">下一页</button>
						<button id="lastPayOverview" class="btn btn-default btn-sm"  onclick="lastPayOverview();">尾页</button>
						<span>当前第<span id="curPagePayOverview"></span>页</span>
						<span>共<span id="totalNumberPayOverview"></span>条记录</span> 
						<span>共<span id="totalPagePayOverview"></span>页</span>
						<span>每页<span id="pageSizePayOverview"></span>条</span>
					
					</div>
					<!-- 页码变化 end-->
			</div>
			
			
			
			<div id="departmentEmployeeInformation" class="col-md-12" ></div>
			<div class="col-md-12 pandect_div" style="height: 800px;">
				
				<div>
					<div style="float:left;">
						<h4 style="width:220px;">部门员工信息</h4>
					</div>
					
					 <div class="select-show" style="float:left;">
					 	<input type="text" name="queryValue" id="employeeSelectInput" class="form-control selectTextMove" style="margin-top: 5px;margin-bottom: 3px;" placeholder="输入条件以检索" /> 
					 	<button class="btn btn-default selectTextMove" type="submit" style="margin-top: 5px;margin-bottom: 3px;" onclick="turnSelect();">Go!</button>
					</div> 
					<div style="width:100%; float:left; border-bottom: 1px solid #e4e4e4;"></div>
				</div>
				
				<div id="departmentEmployeeInformationMain" class="viewStyle">
				
				<table id="departmentEmployeeInformation-table" class="table table-striped table-bordered table-hover" style="text-align: left;">
					<thead>
						<tr>
							 
							<th style="width: 27%;">部门</th>
							<th style="width: 8%;">姓名</th>
							<th style="width: 8%;">工号</th>
							<th style="width: 5%;">性别</th>
							<th style="width: 9%;">职位</th>
							<th style="width: 5%;">学历</th>
							<th style="width: 12%;">联系方式</th>
							<th style="width: 10%;">毕业学校</th>
							<th style="width: 8%;">入职地点</th>
							<th style="width: 8%;">查看</th>
						</tr>
					</thead>
					<tbody id="departmentEmployeeInformation_tbody">
						
					</tbody>
					<!-- <tfoot>
						<tr>
							<td colspan="8" class="moreTd" id="topic-tfoot">
								<span class="icon-down"><i class="icon-down">↓</i>查看更多</span>
							</td>
						</tr>
					</tfoot> -->
				</table>
				
				
					<!-- 页码变化 start-->
					<div class="pageNumber">
					
						 <input id="previousDepartmentEmployeeInformationInput" type="hidden" name="previousDepartmentEmployeeInformationInput" value=""> 
						 <input id="nextDepartmentEmployeeInformationInput" type="hidden" name="nextDepartmentEmployeeInformationInput" value=""> 
						 <input id="lastDepartmentEmployeeInformationInput" type="hidden" name="lastDepartmentEmployeeInformationInput" value=""> 
						 
						<button id="firstDepartmentEmployeeInformation" class="btn btn-default btn-sm" onclick="firstDepartmentEmployeeInformation();">首页</button>
						<button id="previousDepartmentEmployeeInformation" class="btn btn-default btn-sm" onclick="previousDepartmentEmployeeInformation();">上一页</button> 
						<button id="nextDepartmentEmployeeInformation" class="btn btn-default btn-sm " onclick="nextDepartmentEmployeeInformation();">下一页</button>
						<button id="lastDepartmentEmployeeInformation" class="btn btn-default btn-sm" onclick="lastDepartmentEmployeeInformation();">尾页</button>
						<span>当前第<span id="curPageDepartmentEmployeeInformation"></span>页</span>
						<span>共<span id="totalNumberDepartmentEmployeeInformation"></span>条记录</span> 
						<span>共<span id="totalPageDepartmentEmployeeInformation"></span>页</span>
						<span>每页<span id="pageSizeDepartmentEmployeeInformation"></span>条</span>
					
					</div>
					<!-- 页码变化 end-->
					
				
				
				</div>
			</div>
			
			
			
							
			
			
			
			
			<!-- 页尾留白 -->
			<!-- <div class="col-md-12 pandect_div">
				<div id="" class="viewStyle"></div>
			</div> -->
											

		</div>

	</div>
	
<%-- <script src="<%=path %>/js/plugins/bootstrap/js/stickUp.js"></script>	 --%>
 		
 	  <script type="text/javascript">
	
			/* jQuery(function($) {
				$(document).ready(function() {
					$('.navbar-wrapper').stickUp({
						parts: {
							
							0: 'HCTargetMain',
							1: 'annualGrowthRateOfTotalCompensationMain'
							
						},
						itemClass: 'menuItem',
						itemHover: 'active'
					});
				});
			}); */
			
		</script> 
		
		 
	 
	 
	 
	 
	 
	 
	 <script src="<%=path%>/js/tms/dashboard.js"></script>
</body>

</html>